﻿

using System.Windows.Forms;
namespace WatCD
{
    class Program
    {
        static int exitCode = 0;
        public static void ExitApplication(int exitCode)
        {
            Program.exitCode = exitCode;
            Application.Exit();
        }

        public static int Main(string[] args)
        {

            CircleAnalysis c = new CircleAnalysis(args[0]);
            int rtnVal = c.WatCD();
            Program.ExitApplication(rtnVal);
            return exitCode;
        }
    }
}
